﻿@using wUniApp.MVC.App_GlobalResources;
@using wUniApp.MVC.Helpers;

<!DOCTYPE html>
<html ng-app="wPBIT_App">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>@ViewBag.Title - W.I.N.C.O. ASP.NET Application</title>
  @Styles.Render("~/Content/css")
  @Scripts.Render("~/bundles/modernizr")
  @Scripts.Render("~/bundles/jquery")
  @Scripts.Render("~/bundles/bootstrap")
  @Scripts.Render("~/bundles/angular")
  @Scripts.Render("~/Scripts/ng-grid.js")
  @Scripts.Render("~/Scripts/_main.js")
</head>
<body ng-controller="wPBIT_Ctrl">
  @{
    wLangHelper.Refresh();
  }

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          @Html.ActionLink("PBIT demo", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li>@Html.ActionLink(Resources.Customers, "Index", "Customers")</li>
            <li>@Html.ActionLink(Resources.Products, "Index", "Products")</li>
            <li>@Html.ActionLink(Resources.Executions, "Index", "Executions")</li>
            <li>@Html.ActionLink(Resources.InheritanceProcedures, "Index", "InheritanceProcedures")</li>
            <li>@Html.ActionLink(Resources.About, "About", "home")</li>
          </ul>
          @Html.Partial("LanguagePartial")
        </div>
      </div>
    </div>
    <div class="container body-content">
      @RenderBody()
      <hr />
      <footer>
        <p>&copy; @DateTime.Now.Year - W.I.N.C.O. ASP.NET Application</p>
      </footer>
    </div>

    @RenderSection("scripts", required: false)
</body>
</html>

